﻿using System;
using System.Collections.Generic;

namespace Platform.Data.Entities.SqlServer;

public partial class SysAuthToken
{
    public string TicketId { get; set; } = null!;

    public string AppId { get; set; } = null!;

    public string RenewToken { get; set; } = null!;

    public string AccessToken { get; set; } = null!;

    public DateTime AccessExpireTime { get; set; }

    /// <summary>
    /// 刷新令牌的过期时间
    /// </summary>
    public DateTime RenewExpireTime { get; set; }

    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 最近一次刷新时间
    /// </summary>
    public DateTime RenewTime { get; set; }

    public string Scope { get; set; } = null!;

    public string Context { get; set; } = null!;
}
